package cn.tedu.ems.studyvideo.dao.mapper;

import cn.tedu.ems.studyvideo.pojo.entity.Video;
import cn.tedu.ems.studyvideo.pojo.query.VideoQuery;
import cn.tedu.ems.studyvideo.pojo.vo.VideoCategory;
import cn.tedu.ems.studyvideo.pojo.vo.VideoVO;

import java.util.List;

public interface VideoMapper {
    //查视频的分类
    List<VideoCategory> selectCategory();

    //查视频作为列表
    List<VideoVO> selectVideo(VideoQuery videoQuery);

    //查页数
    Integer selectCount(VideoQuery videoQuery);

    void insertVideo(Video video);
}
